 |
API Documentation
|
|
|
29 static std::string
inputDataStr (
const std::string_view& filePath) ;
46 static bool outputData (
const std::string_view& content,
const std::string_view& path) ;
static ContentLoadResultCompositorNode appendCompositorNodeFromSources(const std::string_view &sources, Compositor *parent)
static ContentLoadResultSampler loadSamplerDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultShader loadShaderDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultCompositor processCompositorTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultDepthStencilState processDepthStencilStateTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultProgram loadShaderProgramDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultRasterState loadRasterStateDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultCamera processCameraTree(nkExport::Node *tree)
static ContentLoadResultNode processNodeSources(const std::string_view &sources)
static ContentLoadResultCamera loadCameraDeclaration(const std::string_view &pathFromData)
static bool saveObjectDeclaration(nkExport::Exportable *object, const std::string_view &pathFromData)
static ContentLoadResultDepthStencilState loadDepthStencilStateDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultConstantBuffer processConstantBufferSources(const std::string_view &sources)
static ContentLoadResultCompositor loadCompositorDeclaration(const std::string_view &pathFromData, bool loadResource=true)
An interface to define objects that can be exported using this component.
Definition: Exportable.h:15
static ContentLoadResultShader processShaderDeclarationTree(nkExport::Node *tree, bool loadResource=true)
A compositor, describing how to compose the rendering pipeline.
Definition: Compositor.h:21
static ContentLoadResultCamera processCameraSources(const std::string_view &sources)
static ContentLoadResultCompositorNode appendCompositorNodeFromTree(nkExport::Node *tree, Compositor *parent)
static nkExport::ExporterLoadResult inputDataSources(const std::string_view &sources)
Holds the information about a try to import data sources.
Definition: ExporterLoadResult.h:15
static ContentLoadResultPass loadPassDeclaration(const std::string_view &pathFromData)
static ContentLoadResultConstantBuffer processConstantBufferDeclarationTree(nkExport::Node *tree)
static ContentLoadResultPass processPassSources(const std::string_view &sources)
static ContentLoadResultRenderQueue processRenderQueueTree(nkExport::Node *tree)
static ContentLoadResultShader processShaderDeclarationSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultRenderQueue loadRenderQueueDeclaration(const std::string_view &pathFromData)
static ContentLoadResultMesh processMeshSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultProgram processShaderProgramTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultMesh loadMeshDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultTexture processTextureSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultShaderMemorySlot processShaderMemorySlotDeclarationTree(nkExport::Node *tree)
static ContentLoadResultBlendState processBlendStateTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultSampler processSamplerSources(const std::string_view &sources, bool loadResource=true)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
static ContentLoadResultCompositorNode appendCompositorNodeFromFile(const std::string_view &pathFromData, Compositor *parent)
static ContentLoadResultSampler processSamplerTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultPass processPassTree(nkExport::Node *tree)
static ContentLoadResultCompositor processCompositorSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultRenderQueue processRenderQueueSources(const std::string_view &sources)
static ContentLoadResultConstantBuffer loadConstantBufferDeclaration(const std::string_view &pathFromData)
Utility class that allows to load content through their declaration files.
Definition: ContentLoader.h:12
static bool saveTreeDeclaration(nkExport::Node *tree, const std::string_view &pathFromData)
static ContentLoadResultBlendState processBlendStateSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultNode processNodeTree(nkExport::Node *tree)
static ContentLoadResultDepthStencilState processDepthStencilStateSources(const std::string_view &sources, bool loadResource=true)
static bool outputData(const std::string_view &content, const std::string_view &path)
static ContentLoadResultBuffer loadBufferDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static nkExport::ExporterLoadResult inputData(const std::string_view &filePath)
static ContentLoadResultRasterState processRasterStateSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultBuffer processBufferDeclarationTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultBlendState loadBlendStateDeclaration(const std::string_view &pathFromData, bool loadResource=true)
Holds information about an attempt of parsing content declaration sources.
Definition: ContentLoadResult.h:23
static ContentLoadResultProgram processShaderProgramSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultTexture loadTextureDeclaration(const std::string_view &pathFromData, bool loadResource=true)
static ContentLoadResultRasterState processRasterStateTree(nkExport::Node *tree, bool loadResource=true)
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7
static ContentLoadResultMesh processMeshTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultBuffer processBufferSources(const std::string_view &sources, bool loadResource=true)
static ContentLoadResultNode loadNodeDeclaration(const std::string_view &pathFromData)
static std::string inputDataStr(const std::string_view &filePath)
static ContentLoadResultTexture processTextureTree(nkExport::Node *tree, bool loadResource=true)
static ContentLoadResultShaderMemorySlot loadShaderMemorySlotDeclaration(const std::string_view &pathFromData)
static ContentLoadResultShaderMemorySlot processShaderMemorySlotSources(const std::string_view &sources)